# @Time    : 2022/7/16 11:45
# @Author  : mobai
# @Email   : 3111283671@qq.com
# @File    : kehu_page.py
# @Software: PyCharm

import unittest
from selenium import webdriver
from selenium.webdriver.common.by import By
from pages.base_pageage import BasePage
from selenium.webdriver.support.select import Select


class KeHuPage(BasePage):
    """客户初始界面"""
    url = "http://192.168.1.151/crm/index.php?m=customer"
    KHTJ = (By.XPATH, "/html/body/div[5]/div[1]/ul/li[5]/a")

    def khtj(self):
        """"点击客户统计"""
        self.driver.find_element(*self.KHTJ).click()
